package com.ynny.demo06;

import java.util.Scanner;

public class Shu {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入第一个数字");
        int s1 = scanner.nextInt();
        System.out.println("请输入第二个数字");
        int s2 = scanner.nextInt();

        System.out.println("和" +(s1 + s2));
        System.out.println("差" +(s1 - s2));
    }
}
